package com.ruyuan.commodity.enums;

/**
 * 商品运费的枚举类
 **/
public enum GoodsFreightEnums {

    /**
     * 运费承担方 0：买家承担，1：卖家承担
     */
    BUYER_FRIGHT(0, "买家承担"),

    SELLER_FRIGHT(1, "卖家承担"),
    ;

    /**
     * 枚举值
     */
    private Integer code;

    /**
     * 描述信息
     */
    private String desc;

    GoodsFreightEnums(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

}
